Skip to content

Applies to

net8.0, net8.0-windows10.0.19041, netstandard2.0

public IDisposable Subscribe(IObserver<object> observer)

Inherited documentation

These docs were inherited from IObservable<object>. The member doesn't override them on this type.

Summary: Notifies the provider that an observer is to receive notifications.

Parameters

NameTypeDescription
observerIObserverThe object that is to receive notifications.

Returns: IDisposable -- A reference to an interface that allows observers to stop receiving notifications before the provider has finished sending them.